package org.yellow.backend.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.yellow.backend.pojo.User;

public interface UserMapper extends BaseMapper<User> {
    int register(User user);

    void setRole(Long userid, int roleid);

    void update(User user);

    int findPatientIDByUserName(String userid);

    Integer existPatient(String userName);

    int findDoctorIDByUserName(String userName);
}
